<template>
    <BarChat :option = "option" style="width:5rem;height:200px;" :id="1"></BarChat>
</template>
<script setup>
import BarChat from "../components/BarChat.vue"
    import { ref } from "vue";
    let option = ref({
            title: { text: "总用户量" },
            tooltip: {},
            xAxis: {
            data: ["12-3", "12-4", "12-5", "12-6", "12-7", "12-8"],
            },
            yAxis: {},
            series: [
            {
                name: "用户量",
                type: "bar",
                data: [5, 20, 36, 10, 10, 20],
            },
            ],
        })
</script>
